Added clarification to the GtkCellView:cell-area-context documentation.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Fri, 3 Dec 2010 09:55:24 +0000 (18:55 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Tue, 4 Jan 2011 14:37:11 +0000 (23:37 +0900)
gtk/gtkcellview.c

index 539554198c80d5da20b9851e34a4c2a6fd609bb1..a63b7f5ba8247bde5d80458afed12bec6bc9c8a9 100644 (file)
@@ -247,6 +247,15 @@ gtk_cell_view_class_init (GtkCellViewClass *klass)
    *
    * The #GtkCellAreaContext used to compute the geometry of the cell view.
    *
+   * A group of cell views can be assigned the same context in order to
+   * ensure the sizes and cell alignments match across all the views with
+   * the same context.
+   *
+   * #GtkTreeMenu uses this to assign the same context to all cell views
+   * in the menu items for a single menu (each submenu creates it's own
+   * context since the size of each submenu does not depend on parent
+   * or sibling menus).
+   *
    * since 3.0
    */
    g_object_class_install_property (gobject_class,